package com.sjy.ylxt.entity.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
* @Author: 史俊颖
* @CreateTime: 2024-12-12
* @Description: ${description}
*/

/**
 * 预约详情实体类
 */
@ApiModel(description="ylxt_appointment_details")
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class YlxtAppointmentDetails implements Serializable {
    @ApiModelProperty(value="")
    @NotNull(message = "不能为null")
    private Long id;

    /**
    * 预约主表ID
    */
    @ApiModelProperty(value="预约主表ID")
    @NotNull(message = "预约主表ID不能为null")
    private Long appointmentId;

    /**
    * 服务类型：0-门诊 1-手术
    */
    @ApiModelProperty(value="服务类型：0-门诊 1-手术")
    @NotNull(message = "服务类型：0-门诊 1-手术不能为null")
    private Integer serviceType;

    /**
    * 预约地点
    */
    @ApiModelProperty(value="预约地点")
    @Size(max = 200,message = "预约地点最大长度要小于 200")
    private String location;

    /**
    * 预约描述
    */
    @ApiModelProperty(value="预约描述")
    private String description;

    /**
    * 陪诊评价分数，范围0-5
    */
    @ApiModelProperty(value="陪诊评价分数，范围0-5")
    private Integer evaluationScore;

    /**
    * 陪诊评价评论
    */
    @ApiModelProperty(value="陪诊评价评论")
    private String evaluationComment;

    /**
    * 创建时间
    */
    @ApiModelProperty(value="创建时间")
    @NotNull(message = "创建时间不能为null")
    @JsonFormat(shape = JsonFormat.Shape.ANY,locale = "zh_CN",pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT")
    private Date createTime;

    /**
    * 修改时间
    */
    @ApiModelProperty(value="修改时间")
    @NotNull(message = "修改时间不能为null")
    @JsonFormat(shape = JsonFormat.Shape.ANY,locale = "zh_CN",pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT")
    private Date updateTime;

    /**
    * 创建用户
    */
    @ApiModelProperty(value="创建用户")
    @Size(max = 100,message = "创建用户最大长度要小于 100")
    private String createUser;

    /**
    * 修改用户
    */
    @ApiModelProperty(value="修改用户")
    @Size(max = 100,message = "修改用户最大长度要小于 100")
    private String updateUser;

    /**
    * 删除标志：0-未删除 1-已删除
    */
    @ApiModelProperty(value="删除标志：0-未删除 1-已删除")
    private Integer deleteFlag;

    private static final long serialVersionUID = 1L;
}